package com.demo.study.dto;

import com.demo.study.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author sz
 * @version V1.0
 * @date 2023/12/24 17:28
 * @Description: 多敲代码
 */
@Mapper
public interface UserMapper {

    int insert(User user);

    User getUserInfoById(@Param("userId") String userId) ;
}
